﻿using Code.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Code.Repsitory.Admins
{
    public class AdminRepository : BaseRepository<Admin>, IAdminRepository
    {
        /// <summary>
        /// 构造函数注入
        /// </summary>
        /// <param name="db"></param>
        public AdminRepository(CodeAPPContext adminRepo) 
        {
            db = adminRepo;
        }

        public override Admin Insert(Admin eneity)
        {           
            return base.Insert(eneity);
        }
    }
}
